package sg.edu.nus.iss.billing.entity.service;

import java.math.BigDecimal;

import sg.edu.nus.iss.billing.entity.RecordState;


public class MobileVoiceService extends PackageService implements RateChargable,Callable {
	
	
	private static final long serialVersionUID = -6515325286424841905L;
	private RateUnit rateUnit;
	private BigDecimal serviceRate;
	
	public MobileVoiceService(){
		
	}

	public MobileVoiceService(String serviceProductID, String serviceName,
			BigDecimal fixedMonthlyCharge, RecordState active) {
		
		this.serviceProductID = serviceProductID;
		this.serviceName = serviceName;
		this.fixedMonthlyCharge = fixedMonthlyCharge;
		this.active = active;
		
	}
	
	
	
	public RateUnit getRateUnit() {
		return rateUnit;
	}
	public void setRateUnit(RateUnit rateUnit) {
		this.rateUnit = rateUnit;
	}
	public BigDecimal getServiceRate() {
		return serviceRate;
	}
	public void setServiceRate(BigDecimal serviceRate) {
		this.serviceRate = serviceRate;
	}
	
	@Override
	public String toString() {
		return "MobileVoiceService [serviceProductID=" + serviceProductID
				+ ", serviceName=" + serviceName 
				+ ", fixedMonthlyCharge="+ fixedMonthlyCharge 
				+ ", rateUnit=" + rateUnit
				+ ", serviceRate=" + serviceRate + "]";
	}
	
	
}
